﻿<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  
    x:Class="LiveTiss.Guias.UserControls.AutorizacaoGuia"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" x:Name="ucAutorizacao"
    d:DesignHeight="162" d:DesignWidth="395">
    
    <StackPanel>
        <Grid Height="53" Margin="0,0,6,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.024*"/>
                <ColumnDefinition Width="0.976*"/>
            </Grid.ColumnDefinitions>
            <StackPanel Grid.ColumnSpan="2" Margin="0" Grid.Row="2" Grid.Column="2">
                <TextBlock TextWrapping="Wrap" Text="Senha:" FontFamily="Segoe UI" FontSize="13.333"/>
                <TextBox Margin="0,6,323,0" MaxLength="20" Text="{Binding Path=Value.senhaAutorizacao, ElementName=ucAutorizacao, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"/>
            </StackPanel>
        </Grid>
        <Grid Margin="0,0,6,5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.024*"/>
                <ColumnDefinition Width="0.976*"/>
            </Grid.ColumnDefinitions>
            <StackPanel Grid.ColumnSpan="2" Margin="0" Grid.Column="2">
                <TextBlock TextWrapping="Wrap" Text="Data Validade da Senha:" FontFamily="Segoe UI" FontSize="13.333"/>
                <sdk:DatePicker HorizontalAlignment="Left" Margin="0,6,0,0" 
                            SelectedDate="{Binding Path=Value._validadeSenha, ElementName=ucAutorizacao, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
            </StackPanel>
        </Grid>
        <Grid Margin="0,0,6,5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.024*"/>
                <ColumnDefinition Width="0.976*"/>
            </Grid.ColumnDefinitions>
            <StackPanel Grid.ColumnSpan="2" Margin="0" Grid.Column="2">
                <TextBlock TextWrapping="Wrap" Text="Data Autorização:" FontFamily="Segoe UI" FontSize="13.333"/>
                <sdk:DatePicker Name="dtpEmissao" HorizontalAlignment="Left" Margin="0,6,0,0" 
                            SelectedDate="{Binding Path=Value._dataAutorizacao, ElementName=ucAutorizacao, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
            </StackPanel>
        </Grid>
    </StackPanel>
</UserControl>
